package it.polimi.entitiesManagers;

import java.util.Date;
import java.util.List;

import it.polimi.entitiesDTO.PersonalizedPacketDTO;

public interface PersonalizedPacketMgr {

	public void save(PersonalizedPacketDTO personalizedPacket, int packetID);
	
	public void update(PersonalizedPacketDTO personalizedPacket);
	
	public PersonalizedPacketDTO getPersonalizedPacketDTO();
	
	public void registerFlight(int packet);

	public void registerAttraction(int packet);
	
	public void changeHotel(int persPackID, int hotelID);

	public void addAttraction(int persPackID, int attractionID);

	public void removeAttraction(int persPackID, int attractionID);

	public List<String> getAlternativeHotels(int id);
	
	public List<Integer> fillMyPackets();
	
	public List<String> getUserPendingPacket();
	
	public List<String> getUserConfirmedPacket();

	public List<String> getPacketAttractions(int id);

	public List<String> getCityAttractions(int id);

	List<String> getReturnFlights(int id);

	List<String> getDepartureFlights(int id);

	public void changeFlights(int persPackID, int departureFlight, int arrivalFlight);

	public void setPacketDates(int persPackID, Date departure, Date return_);

	public void confirmPacket(int id, int paretecipants);

	public String searchPersonalizedPacketById(int id);

	public void registerAttractionp(int packet);

	public void save(int packetID);

	public void registerFlightp(int packet);

	public List<String> getAttractionsFromPacket(int id);

	public List<String> getFlightsFromPacket(int id);

	public boolean getPacketUser(int id);
}
